home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Jan 91 / MacApp.Tech$ 1⁄18⁄91 / 2716-TEditText & SFPutFil-Jan91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  33 lines  |  [TEXT/GEOL]

  1. Item    7957311                         17-Jan-91        14:55PST
  2.  
  3. From:   D2188                           Office Product Tech, B Toback,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9. Sub:    TEditText & SFPutFile -- Help!
  10.  
  11. Re: SFPutFile-ish TEditText -- Help!
  12.  
  13. The following appeared in conjunction with some unrelated material:
  14.  
  15. I need to create what might otherwise be a subclass of TEditText, if a
  16. TEditText accepted key and menu commands directly. Essentially, for every
  17. character typed, I need to do something besides display it. I can't find a
  18. simple way to do this; the only way I've found is to subclass TEditText and
  19. override StartEdit and StopEdit, creating and installing my own subclass of
  20. TTEView rather than using the one belonging to the enclosing TDialogView. That
  21. seems messy, and what's worse, I don't completely understand the logic
  22. associated with TDialogView and its interaction with TEditText. Can someone
  23. help? Essentially, what I'd like is something like the SFPutFile implementation
  24. on 7.0, but with keystrokes showing up in the filename box as they are typed --
  25. even when the list has the input focus.
  26.  
  27. Thanks,
  28. -- Bruce Toback
  29. OPT, Inc.
  30. D2188
  31.  
  32.  
  33.